/** ###################################################################
**     Filename  : TERMIO.C
**     Project   : Motologger_v2
**     Processor : MC9S12XA256CFU
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 12/5/2009, 7:41 PM
**     Contents  :
**         User source code
**
**     (c) Copyright UNIS, a.s. 1997-2008
**     UNIS, a.s.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/

/* MODULE TERMIO */
#include <hidef.h>
#include <termio.h>
#include "Wifi_SCI.h"

char TERMIO_GetChar(void) {
 char c;
 //Wifi_Term_ReadChar(&c);
 while(Wifi_SCI_RecvChar(&c) != ERR_OK){} /* Receive char */
 return (char)c;
}

void TERMIO_PutChar(char ch){
	//Wifi_Term_SendChar(ch);
	while (Wifi_SCI_SendChar(ch) == ERR_TXFULL){}
}

void TERMIO_Init(void) {
	//Wifi_SCI_Init();
	//Inhr2_Init();
}






/* END TERMIO */
